<html>
<head>
    <title></title>
    <style>
        table{border-collapse:collapse}
        table td {padding:20px;min-height:60px;}
        .border_table  td{border:1px solid #aaa;}

    </style>
</head>
<body>
<table style="margin:0 auto;border-collapse:collapse; width: 90%" >
    <tr>
        <td style="text-align: center;min-height: 60px ;padding:10px;">
            <h2>清华大学实验室安全整改通知书</h2>
        </td>
    </tr>
    <#list noticeBookDetailDtoList as noticeBookDetailDto>
        <tr>
            <td style="text-align: right;min-height: 60px ;padding:10px;">
                <p >编号：${(noticeBookDetailDto.noticeBookDto.noticeNo)!}</p>
            </td>
        </tr>
        <tr>
            <td>

                <table style="width:100%;" class="border_table">

                    <tr style="height: 60px;">
                        <td style="min-height: 60px ;padding:10px;border:1px solid #aaa">下发部门：${(noticeBookDetailDto.noticeBookDto.noticeSendDepart)!}</td>
                        <td style="min-height: 60px ;padding:10px;border:1px solid #aaa">下发时间：${(noticeBookDetailDto.noticeBookDto.noticeSendDate)?string('yyyy.MM.dd')}</td>
                    </tr>

                    <tr>
                        <td style="min-height: 60px ;padding:10px;border:1px solid #aaa">接收单位：${(noticeBookDetailDto.noticeBookDto.noticeReceiveUnitName)!}</td>
                        <td style="min-height: 60px ;padding:10px;border:1px solid #aaa">安全主管领导： ${(noticeBookDetailDto.noticeBookDto.noticeLeader)!}</td>
                    </tr>

                    <tr>
                        <td colspan="2" style="min-height: 60px ;padding:10px;border:1px solid #aaa">
                            <h3>检查情况：</h3>
                            <div style="width: 600px;">
                                ${(noticeBookDetailDto.noticeBookDto.noticeCheckDesc)!} </div>
                            <p style="padding-top: 20px">详细内容见附件1 </p>
                        </td>

                    </tr>
                    <tr>
                        <td colspan="2" style="min-height: 60px ;padding:10px;border:1px solid #aaa">
                            <h3>整改要求：</h3>
                            <div style="width: 600px;">
                                ${(noticeBookDetailDto.noticeBookDto.noticeCheckRequirement)!} </div>
                        </td>

                    </tr>
                </table>
            </td>
        </tr>

        <tr>
            <td style="height:80px">
                附件1：
            </td>

        </tr>

        <tr>
            <td>
                <table style="width:100%; text-align: center;border-collapse:collapse" class="border_table">
                    <tr>
                        <td style="min-height: 60px ;padding:10px;border:1px solid #aaa">房间号</td>
                        <td style="min-height: 60px ;padding:10px;border:1px solid #aaa">需要整改项</td>
                    </tr>
                    <#list noticeBookDetailDto.hiddenDangerRecordList! as hiddendangerRecordDto>
                        <tr>
                            <td style="text-align: center; min-height: 60px ;padding:10px;border:1px solid #aaa">
                                ${hiddendangerRecordDto.checkBuilding!}${hiddendangerRecordDto.checkRoom!}
                            </td>
                            <td style="text-align: center; min-height: 60px ;padding:10px;border:1px solid #aaa">
                                <table  style="width:100%;border-collapse:collapse" class="border_table">
                                    <tr>
                                        <td style="min-height: 60px ;padding:10px;">
                                            <div style="padding:10px;">
                                                <#if hiddendangerRecordDto.checkItemThree?? && hiddendangerRecordDto.checkItemThree !=""
                                                     && hiddendangerRecordDto.desc?? && hiddendangerRecordDto.desc !="">
                                                    ${hiddendangerRecordDto.checkItemThree}(${(hiddendangerRecordDto.desc)!})
                                                    <#elseif hiddendangerRecordDto.checkItemThree?? && hiddendangerRecordDto.checkItemThree !="">
                                                        ${hiddendangerRecordDto.checkItemThree}
                                                    <#elseif hiddendangerRecordDto.desc?? && hiddendangerRecordDto.desc !="">
                                                        ${hiddendangerRecordDto.desc}
                                                        <#else>
                                                            无隐患记录
                                                </#if>
                                            </div>
                                            <div >
                                            <#list hiddendangerRecordDto.uploadImageList! as uploadImage>
                                                <#if uploadImage??>
                                                        <img src="${uploadImage.path!}" style="width:200px;height:200px;"/>&nbsp;
                                                </#if>
                                            </#list>
                                            </div>
                                        </td>
                                    </tr>
                                </table>

                            </td>
                        </tr>
                    </#list>
                </table>
            </td>

        </tr>
    </#list>
</table>
</body>
</html>
